<template>
    <mescroll-uni @down="down" class="message" ref="mescrollRef">
        <slot name="mescroll-uni"></slot>
    </mescroll-uni>
</template>

<script setup lang="ts">
import useMescroll from "@/uni_modules/mescroll-uni/hooks/useMescroll.js";
import { useVModel } from '@vueuse/core';
const props = defineProps({

    content: {
        type: String,
        default: ''
    }
})
const emit = defineEmits(['update:showModel', 'downConfirm']);
const down = () => {
    emit('downConfirm')
}
const turnRefresh = () => {
    setTimeout(() => {
        mescrollRef.value.mescroll.endSuccess();
    }, 500);
}
defineExpose({
    turnRefresh
});
const mescrollRef = ref<any>(null)
</script>
<style lang="scss" scoped></style>